<template>
  <div class="com-container">
    <div v-if="$slots.left" class="left">
      <i class="el-icon-info" />
      <slot name="left" />
    </div>
    <div class="right">
      <slot name="right" />
    </div>
  </div>
</template>

<script>
export default {
  name: 'Tips',
  components: {},
  props: {

  },
  data() {
    return {

    }
  },
  computed: {},
  watch: {},
  created() {

  },
  mounted() {

  },
  methods: {

  }
}
</script>

<style lang="scss" scoped>
.com-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}
.left {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0px 10px;
  border-radius: 3px;
  border: 1px solid rgba(145, 213, 255, 1);
  background: rgba(230, 247, 255, 1);
  i {
    margin-right: 5px;
    color: #409eff;
  }
}
.right {
  margin-left: auto;
}
</style>
